package com.gxa.controller;

import com.gxa.common.LayR;
import com.gxa.service.deptService;
import com.gxa.service.valueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/value")
public class valueController {



        @Autowired
        private valueService service;


        @PostMapping("/list/data")
        @ResponseBody
        public LayR getAll(){
            return service.findAll();
        }
}
